package enum_.bean;

public enum Season implements Fly {
    SPRING("春") {
        @Override
        public void fly() {
            System.out.println("春 鸟飞");
        }
    },
    SUMMER("夏") {
        @Override
        public void fly() {
            System.out.println("夏 鸟也飞");
        }
    },
    AUTUMN("秋") {
        @Override
        public void fly() {
            System.out.println("秋 落叶飞");
        }
    },
    WINTER("东") {
        @Override
        public void fly() {
            System.out.println("冬 雪飞");
        }
    };
    private String value;

    private Season(String value) {
        this.value = value;
    }

    public String getValue() {
        return value;
    }


}
